package com.jiedeng.dao;

import com.jiedeng.model.CheckItemRule;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by qinyu on 2017/8/9.
 */
public interface ICheckItemRuleRepository extends JpaRepository<CheckItemRule, Long> {

    List<CheckItemRule> findByCheckItemId(long checkItemId);
    List<CheckItemRule> findByPostId(long postId);

}
